Feature: deploy without making onchain transaction#209
Draft
michcio1234 wants to merge 7 commits intoPhala-Network:mainfrom
Draft
Feature: deploy without making onchain transaction#209michcio1234 wants to merge 7 commits intoPhala-Network:mainfrom
michcio1234 wants to merge 7 commits intoPhala-Network:mainfrom
Conversation
If the onchain transaction has already been (or will be) executed externally, CLI doesn't need to submit it.
Useful for getting the compose hash that needs to be approved on-chain before updating compose file in a CVM. Useful when deployer account is e.g. a MultiSig, which cannot easily be handled by a single CLI command.
Contributor
📋 Check Results✨ JS SDK - Code FormattingShow format check results🔍 JS SDK - TypeScript Type CheckShow type check output🧪 JS SDK - Test ResultsShow test output📝 JS SDK - Lint CheckShow lint results🌐 JS SDK - Browser CompatibilityShow browser test results🌐 Browser Compatibility ReportBrowser compatibility tests completed across:
The SDK has been verified to work in modern browser environments. Check run: https://github.com/Phala-Network/phala-cloud/actions/runs/23203867217 |
Computes the compose hash and proposes an addComposeHash transaction to a Safe multisig via the Safe Transaction Service. Extracts computeComposeHash() from compose-hash handler for reuse. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace node-fetch with native fetch via esbuild alias, and bundle userland punycode instead of Node's deprecated built-in. Fixes DEP0040 (punycode) and DEP0169 (url.parse) warnings at runtime. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allows for updating a CVM with a MultiSig account.
Flow:
phala deploy --name my-app --kms eth --private-key 0x...phala transfer-ownership my-app --new-owner 0x123phala compose-hash my-appphala deploy --cvm-id my-app --skip-onchain-tx